Sets the graphics port and device for drawing.
extern pascal ComponentResult GraphicsImportSetGWorld (
GraphicsImportComponent ci,
CGrafPtr port,
GDHandle gd);
Returns the current graphics port and device for drawing.
extern pascal ComponentResult GraphicsImportGetGWorld (
GraphicsImportComponent ci,
CGrafPtr *port,
GDHandle *gd);
extern pascal ComponentResult GraphicsImportDraw (GraphicsImportComponent ci);
This function draws the image currently in use by the graphics import component to the graphics port and device specified by the GraphicsImportSetGWorld function. The GraphicsImportDraw function takes into account all settings you have specified for the image, such as the source rectangle, clipping region, graphics mode, and image quality.